import http from '@/plugins/axios/index.js';

// 修改密码短信接口
export const getPhoneCodeHasUser = params => {
  return http(`/yjz-sso/lawtrain/getPhoneCodeHasUser.do`, params, {
    method: 'GET',
    //isAuth: false
  }).then(res => res);
};

// 下一步修改密码接口
export const getChangeHasCode = params => {
  return http(`/yjz-sso/lawtrain/forgretUserPasswdNext.do`, params, {
    method: 'POST',
    //isAuth: false
  }).then(res => res);
};

// 修改用户密码
export const changeUserPasswd = params => {
  return http(`/yjz-sso/lawtrain/changeUserPasswd.do`, params, {
    method: 'POST',
    //isAuth: false
  }).then(res => res);
};
